package cn.com.zero.api.auth.po;

import cn.com.zero.base.po.BasePO;

import java.util.List;

/**
 * @author xiongxj
 * @version 1.0.0
 * @Description 菜单PO类
 * @createTime 2023/3/22 16:08
 */
public class MenuPO extends BasePO {

    private static final long serialVersionUID = 7196047487803238879L;
    /** 菜单代码 */
    private Long menuId;

    /** 菜单名称 */
    private String name;

    /** 父菜单代码 */
    private Long parentId;

    /** 权限路径 */
    private String url;

    /** 菜单图标 */
    private String icon;

    /**
     * 菜单类型 1:菜单 2:功能
     */
    private Integer type;

    /** 菜单状态（是否可见） 0：隐藏，不可见 1：显示，可见 */
    private Integer visible;

    /** 排序号 */
    private Integer sortNo;

    /**
     * 系统号
     */
    private Integer systemId;

    /** 子菜单列表 */
    private List<MenuPO> childrenMenu;

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public List<MenuPO> getChildrenMenu() {
        return childrenMenu;
    }

    public void setChildrenMenu(List<MenuPO> childrenMenu) {
        this.childrenMenu = childrenMenu;
    }
}
